package cpalinesearch;

import java.util.Hashtable;

/**
 * This class generates a database that contains all the lines and their weights determined by user 
 * preferences. The highest the weight, the lower the priority.
 * @author Riva
 *
 */
public class BusDataBase {
	
	Hashtable dataBase = null;
	
	public BusDataBase() 
	{
		this.dataBase = new Hashtable();
	}
	public void createDataBase()
	{
		//TODO		
	}
	public Integer getWeigth(String line)
	{
		Integer weigth = (Integer) dataBase.get(line);
		return weigth;
	}

}
